sched: improve domain creation tracing
authorDario Faggioli <dario.faggioli@citrix.com>
Thu, 18 Feb 2016 14:03:34 +0000 (15:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 18 Feb 2016 14:03:34 +0000 (15:03 +0100)
commit7d42c7615045e75b9231a309ec452d7543099773
tree5f93764f4ad0dec7020dfb3183690cf513448250
parent5da5a383a08a60382d6bc0c78ee1cb91a733250c
sched: improve domain creation tracing

by doing the following two things:

 - move TRC_SCHED_DOM_{ADD,REM}, into the functions
   that do the actual scheduling-related domain
   initialization;

 - add two 'generic' DOM_{ADD,REM} events. They're
   made part of the TRC_DOM0 tracing class, as Dom0
   is, usually, from where domains are created and
   destroyed.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/common/domain.c
xen/common/schedule.c
xen/include/public/trace.h